What is the meaning of the word "ask for trouble"?

Definitions:

  1. to persist with actions or an attitude despite the probability that it will cause trouble copy to clipboard verb
    • Committing crimes in front of cops is asking for trouble. copy to clipboard

Synonyms: